package com.atguigu.gmall.product.service;

import com.atguigu.gmall.product.eneity.BaseCategory2;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface BaseCategory2Service extends IService<BaseCategory2> {

    /**
     * 查询某个一级分类下的所有二级分类
     * @param category1Id
     * @return
     */
    List<BaseCategory2> getCategory2sByC1Id(Long category1Id);
}
